[INFO] fetching crate rich-sdl2-rust 0.13.1...
[INFO] checking rich-sdl2-rust-0.13.1 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate rich-sdl2-rust 0.13.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate rich-sdl2-rust 0.13.1 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rich-sdl2-rust 0.13.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate rich-sdl2-rust 0.13.1
[INFO] tweaked toml for crates.io crate rich-sdl2-rust 0.13.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate rich-sdl2-rust 0.13.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rich-sdl2-rust-sys v0.13.1
[INFO] [stderr]   Downloaded typed-builder v0.16.1
[INFO] [stderr]   Downloaded typed-builder-macro v0.16.1
[INFO] [stderr]   Downloaded git2 v0.18.1
[INFO] [stderr]   Downloaded libgit2-sys v0.16.1+1.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ec13236fe425f171361424cd1c7632ded626bbf9a3bd3fa603445324635bcc2
[INFO] running `Command { std: "docker" "start" "-a" "4ec13236fe425f171361424cd1c7632ded626bbf9a3bd3fa603445324635bcc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ec13236fe425f171361424cd1c7632ded626bbf9a3bd3fa603445324635bcc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ec13236fe425f171361424cd1c7632ded626bbf9a3bd3fa603445324635bcc2", kill_on_drop: false }`
[INFO] [stdout] 4ec13236fe425f171361424cd1c7632ded626bbf9a3bd3fa603445324635bcc2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3fef35b388a366453b08dd41584ef8bdfd9b05e0a15d1ddb6b25c419e0762bf
[INFO] running `Command { std: "docker" "start" "-a" "c3fef35b388a366453b08dd41584ef8bdfd9b05e0a15d1ddb6b25c419e0762bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling bindgen v0.68.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling retry v2.0.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling typed-builder-macro v0.16.1
[INFO] [stderr]     Checking typed-builder v0.16.1
[INFO] [stderr]    Compiling git2 v0.18.1
[INFO] [stderr]    Compiling rich-sdl2-rust-sys v0.13.1
[INFO] [stderr]     Checking rich-sdl2-rust v0.13.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event/text.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout]    |             -------------------------- ^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut SDL_Rect`
[INFO] [stdout]                 found reference `&_`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/rich-sdl2-rust-sys-d4d25363922d1423/out/bind.rs:3:158045
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...C" { pub fn SDL_StopTextInput () ; } extern "C" { pub fn SDL_SetTextInputRect (rect : * mut SDL_Rect) ; } extern "C" { pub fn SDL_HasS...
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 82 -             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout] 82 +             bind::SDL_SetTextInputRect(raw_rect);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event/text.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout]    |             -------------------------- ^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut SDL_Rect`
[INFO] [stdout]                 found reference `&_`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/rich-sdl2-rust-sys-d4d25363922d1423/out/bind.rs:3:158045
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...C" { pub fn SDL_StopTextInput () ; } extern "C" { pub fn SDL_SetTextInputRect (rect : * mut SDL_Rect) ; } extern "C" { pub fn SDL_HasS...
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 82 -             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout] 82 +             bind::SDL_SetTextInputRect(raw_rect);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rich-sdl2-rust` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rich-sdl2-rust` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "c3fef35b388a366453b08dd41584ef8bdfd9b05e0a15d1ddb6b25c419e0762bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3fef35b388a366453b08dd41584ef8bdfd9b05e0a15d1ddb6b25c419e0762bf", kill_on_drop: false }`
[INFO] [stdout] c3fef35b388a366453b08dd41584ef8bdfd9b05e0a15d1ddb6b25c419e0762bf
[INFO] checking rich-sdl2-rust-0.13.1 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate rich-sdl2-rust 0.13.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate rich-sdl2-rust 0.13.1 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rich-sdl2-rust 0.13.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate rich-sdl2-rust 0.13.1
[INFO] tweaked toml for crates.io crate rich-sdl2-rust 0.13.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate crates.io crate rich-sdl2-rust 0.13.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3a55c0de4fa6cbc42064c70d7c0e26d02a0430b0cf1e26b6dfd81cbad019517
[INFO] running `Command { std: "docker" "start" "-a" "f3a55c0de4fa6cbc42064c70d7c0e26d02a0430b0cf1e26b6dfd81cbad019517", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3a55c0de4fa6cbc42064c70d7c0e26d02a0430b0cf1e26b6dfd81cbad019517", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3a55c0de4fa6cbc42064c70d7c0e26d02a0430b0cf1e26b6dfd81cbad019517", kill_on_drop: false }`
[INFO] [stdout] f3a55c0de4fa6cbc42064c70d7c0e26d02a0430b0cf1e26b6dfd81cbad019517
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7102178bd2747807dc32aa06546887a3faf5c1f2b5f645ebc85c0962c30eabc9
[INFO] running `Command { std: "docker" "start" "-a" "7102178bd2747807dc32aa06546887a3faf5c1f2b5f645ebc85c0962c30eabc9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling linux-raw-sys v0.4.7
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bindgen v0.68.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.4.1
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v1.2.0
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.1+1.7.1
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling retry v2.0.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]     Checking raw-window-handle v0.3.4
[INFO] [stderr]    Compiling typed-builder-macro v0.16.1
[INFO] [stderr]     Checking typed-builder v0.16.1
[INFO] [stderr]    Compiling git2 v0.18.1
[INFO] [stderr]    Compiling rich-sdl2-rust-sys v0.13.1
[INFO] [stderr]     Checking rich-sdl2-rust v0.13.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/audio/driver.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     (0..num)
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/audio.rs:192:6
[INFO] [stdout]     |
[INFO] [stdout] 192 |     (0..num_devices).map(move |index| {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/game_controller.rs:86:25
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let controls = (0..num_controls)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/axis.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let axes = (0..num_axes)
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/button.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let buttons = (0..num_buttons)
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/hat.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let hats = (0..num_hats).map(|index| Hat { index, joystick }).collect();
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/trackball.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let balls = (0..num_balls)
[INFO] [stdout]    |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/event/joystick.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let joysticks = (0..num_joysticks).map(Joystick::new).collect();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/sensor.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |             (0..sensor_count)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/touch.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |         (0..num)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/touch.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 |         (0..num)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/audio/driver.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |     (0..num)
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/haptic.rs:196:14
[INFO] [stdout]     |
[INFO] [stdout] 196 |             (0..num_haptics)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/audio.rs:192:6
[INFO] [stdout]     |
[INFO] [stdout] 192 |     (0..num_devices).map(move |index| {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/game_controller.rs:86:25
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let controls = (0..num_controls)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video/display.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (0..ret)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/axis.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let axes = (0..num_axes)
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/button.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let buttons = (0..num_buttons)
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/hat.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let hats = (0..num_hats).map(|index| Hat { index, joystick }).collect();
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/joystick/trackball.rs:43:22
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let balls = (0..num_balls)
[INFO] [stdout]    |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video/renderer/driver.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     (0..num)
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/event/joystick.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let joysticks = (0..num_joysticks).map(Joystick::new).collect();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/brightness.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if (0.0..=1.0).contains(&brightness) {
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/sensor.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |             (0..sensor_count)
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/touch.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 |         (0..num)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/event/touch.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 |         (0..num)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/builder.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert!((-MAX..=MAX).contains(&coord));
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/haptic.rs:196:14
[INFO] [stdout]     |
[INFO] [stdout] 196 |             (0..num_haptics)
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/config.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if (0.0..=1.0).contains(&opacity) {
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video/display.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 |         (0..ret)
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (0..ret).map(|idx| Display::new(idx, self)).collect()
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |         (0..num_drivers)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video/renderer/driver.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     (0..num)
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/brightness.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         if (0.0..=1.0).contains(&brightness) {
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/builder.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |         assert!((-MAX..=MAX).contains(&coord));
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/video/window/config.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if (0.0..=1.0).contains(&opacity) {
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 |         (0..ret).map(|idx| Display::new(idx, self)).collect()
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/video.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |         (0..num_drivers)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event/text.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout]    |             -------------------------- ^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut SDL_Rect`
[INFO] [stdout]                 found reference `&_`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/rich-sdl2-rust-sys-d4d25363922d1423/out/bind.rs:3:158045
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...C" { pub fn SDL_StopTextInput () ; } extern "C" { pub fn SDL_SetTextInputRect (rect : * mut SDL_Rect) ; } extern "C" { pub fn SDL_HasS...
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 82 -             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout] 82 +             bind::SDL_SetTextInputRect(raw_rect);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event/text.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout]    |             -------------------------- ^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |             |
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*mut SDL_Rect`
[INFO] [stdout]                 found reference `&_`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/rich-sdl2-rust-sys-d4d25363922d1423/out/bind.rs:3:158045
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...C" { pub fn SDL_StopTextInput () ; } extern "C" { pub fn SDL_SetTextInputRect (rect : * mut SDL_Rect) ; } extern "C" { pub fn SDL_HasS...
[INFO] [stdout]    |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 82 -             bind::SDL_SetTextInputRect(&raw_rect);
[INFO] [stdout] 82 +             bind::SDL_SetTextInputRect(raw_rect);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rich-sdl2-rust` (lib) due to 2 previous errors; 19 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rich-sdl2-rust` (lib test) due to 2 previous errors; 19 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7102178bd2747807dc32aa06546887a3faf5c1f2b5f645ebc85c0962c30eabc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7102178bd2747807dc32aa06546887a3faf5c1f2b5f645ebc85c0962c30eabc9", kill_on_drop: false }`
[INFO] [stdout] 7102178bd2747807dc32aa06546887a3faf5c1f2b5f645ebc85c0962c30eabc9
